package com.fjnldx.mes.domain.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@TableName(value = "scheduling")
public class Scheduling {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private String bc;
  private String gh;
  private String cj;
  private String current_gongxu;
  private String current_work_type;
  private String devSn;
  private Double share;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime start_time;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime end_time;
  private String current_dh;
  private String remarks;
  private String status;
  private String publicFlag;
  private String idLt;
  private LocalDateTime update_time;
}
